package fr.imac.ProjetAndroid;


import android.app.Activity;
import android.app.Dialog;
import android.os.Bundle;


public class CitySearcherActivity extends Activity{
	//private String theme;
	//private SharedPreferences settings;
	
	
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.citysearcher);					// Initialisation de l'interface graphique
		// Definit les préférences en fonction du menu settings
       // settings = getSharedPreferences(SettingsActivity.PREFS_NAME, 0);
	}
	    
	@Override
	public void onStart() {
		super.onStart();
		/*
		theme = settings.getString("theme", SettingsActivity.THEME_1);
		LinearLayout l = (LinearLayout) findViewById(R.id.layoutCitySearcher);
		Log.i("toto", "coucou iciiiii "+theme);
		if(theme==SettingsActivity.THEME_1){
			l.setBackgroundResource(R.drawable.bg);
		} else {
			l.setBackgroundResource(R.drawable.bg_);
		}
		*/
	}

	@Override
	public void onResume() {
		super.onResume();
		
	}

	@Override
	public void onPause() {
		super.onPause();
	}

	@Override
	public void onStop() {
		super.onStop();
	}
	    
	@Override
	public void onDestroy() {
		super.onDestroy();
	}
	    
	/**
	* Cr�ation des bo�tes de dialogue
	*/
	@Override
	protected Dialog onCreateDialog(int id) {
		switch (id) {
		//android.R.drawable.btn_star_big_on

		/**case DIALOG_ID:
			AlertDialog.Builder dialog = new AlertDialog.Builder(this);
			dialog.setTitle(R.string.import_export);
			dialog.setIcon(android.R.drawable.ic_dialog_info);
			dialog.setItems(R.array.import_export,null);
			dialog.setPositiveButton(android.R.string.ok, null);
			dialog.setNegativeButton(android.R.string.cancel, null);
			dialog.create();

			return dialog;
			break;
		**/
			default:
				return super.onCreateDialog(id);
		}
	}
}
